public class Test1 {

    public static int sum(int x,int y){
        return x+y;
    }
    public static double sum(double x,double y,double z){
        return x+y+z;
    }
    public static void main(String[] args) {
        int a=sum(4,5);
        double b=sum(4.2,5.8,6.0);
        System.out.println(a);
        System.out.println(b);
    }
}
